package com.ruoyi.zsyh.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

import java.util.List;

/**
 * 厂家售后菜单管理对象 zsyh_after_factory_menu
 * 
 * @author yuexl
 * @date 2022-09-26
 */
public class ZsyhAfterFactoryMenu extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 菜单名称 */
    @Excel(name = "菜单名称")
    private String menuName;

    /** 父级id */
    @Excel(name = "父级id")
    private String menuParentid;

    /** 跳转路径 */
    @Excel(name = "跳转路径")
    private String menuUrl;

    /** 图标 */
    @Excel(name = "图标")
    private String menuIcon;

    List<ZsyhAfterFactoryMenu> menuList;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setMenuName(String menuName) 
    {
        this.menuName = menuName;
    }

    public String getMenuName() 
    {
        return menuName;
    }
    public void setMenuParentid(String menuParentid) 
    {
        this.menuParentid = menuParentid;
    }

    public String getMenuParentid() 
    {
        return menuParentid;
    }
    public void setMenuUrl(String menuUrl) 
    {
        this.menuUrl = menuUrl;
    }

    public String getMenuUrl() 
    {
        return menuUrl;
    }
    public void setMenuIcon(String menuIcon) 
    {
        this.menuIcon = menuIcon;
    }

    public String getMenuIcon() 
    {
        return menuIcon;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("menuName", getMenuName())
            .append("menuParentid", getMenuParentid())
            .append("menuUrl", getMenuUrl())
            .append("menuIcon", getMenuIcon())
            .toString();
    }

    public List<ZsyhAfterFactoryMenu> getMenuList() {
        return menuList;
    }

    public void setMenuList(List<ZsyhAfterFactoryMenu> menuList) {
        this.menuList = menuList;
    }
}
